<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <title>${channel.channelTitle!}</title>
    <meta name="description" content="${channel.channelDescriptions}">
    <meta name="keywords" content="${channel.channelKeyword}">
    <link rel="icon" href="/web/img/favicon.ico">
    <link rel="shortcut icon" href="/web/img/favicon.ico">
    <link rel="stylesheet/less" href="/web/css/tag-list.less">
    <link rel="stylesheet" href="/web/css/page_a.css">
    <script src="/web/lib/less.min.js"></script>
    <script src="/web/lib/jquery-1.12.4.min.js"></script>
    <script src="/web/public/public.js"></script>
    <script src="/web/lib/page_a.js"></script>
</head>
<body>
<div class="container">
    <!--#include virtual="/web/html/header/chongqing-header.htm"-->
    <div id="main">
        <div class="left">
            <h2 class="position">
                <a href="${domainChongQing}" target="_blank">重庆政府采购</a> -> <span>${column}</span>
            </h2>
            <#if articleList.list??>
                <ul class="content-list">
                    <#list articleList.list as article>
                        <li>
                            <#if article.articleImage?? && article.articleImage != ''>
                                <div class="left"><img src="${article.articleImage}" alt="${article.articleTitle}"></div>
                            </#if>
                            <div class="right">
                                <div class="title">
                                    <#if article.articleOutLinkStatus == 1>
                                        <a target="_blank" href="${article.articleOutLink}" title="${article.articleTitle}">${article.articleTitle}</a>
                                    <#else>
                                        <a target="_blank" href="${article.articleUrl}" title="${article.articleTitle}">${article.articleTitle}</a>
                                    </#if>
                                </div>
                                <p></p>
                                <div class="info">
                                    <i class="iconfont icon-shijian"></i><span><#if article.publicTime?exists>${article.publicTime?string('yyyy-MM-dd')}</#if></span>
                                    <#if article.articleKeywordList??>
                                        <!-- 关键词列表(可点击) -->
                                        <#list article.articleKeywordList as articleKeyword>
                                            <a href="${"${domain}/web/tagList/1.html?tag=${articleKeyword.keyword}"}" target="_blank" class="tag" title="${articleKeyword.keyword}">${articleKeyword.keyword}</a>
                                        </#list>
                                    </#if>
                                </div>
                            </div>
                        </li>
                    </#list>
                </ul>
            </#if>
            <div class="page-box">
                <!-- 上一页 -->
                <#if articleList.pageNum != 1>
                    <div class="page-prv"><a href="${domainChongQingUrl}${articleList.pageNum-1}.html" title="上一页"> < 上一页 </a></div>
                </#if>
                <div id="page"></div>
                <!-- 下一页 -->
                <#if articleList.pageNum != articleList.pages>
                    <div class="page-next"><a href="${domainChongQingUrl}${articleList.pageNum+1}.html" title="下一页"> 下一页 > </a></div>
                </#if>
            </div>
        </div>
        <div class="right">
            <!--#include virtual="/web/html/fragment/public/video-classroom.htm"-->
            <!--#include virtual="/web/html/fragment/public/audio-column.htm"-->
            <!--#include virtual="/web/html/fragment/home/right-boutique.htm"-->
            <!--#include virtual="/web/html/fragment/home/right-hot-search.htm"-->
            <!--#include virtual="/web/html/fragment/home/ad-list-one.htm"-->
            <!--#include virtual="/web/html/fragment/home/ad-list-two.htm"-->
        </div>
    </div>
    <!--#include virtual="/web/html/footer/chongqing-footer.htm"-->
</div>
</body>
<script>
    $(function(){
        let totalCount = ${articleList.total}; // 数据总条数
        let pageSize = 12; // 每页的数据条数
        let pathUrl = "${domainChongQingUrl}"; // url
        let currentPage = ${articleList.pageNum}; // 当前页
        let endUrl = '.html'; // 结尾html
        let pageContent = parseInt(((totalCount-1)/pageSize)+1);  //分页总数
        $("#page").Page({
            totalPages: pageContent,
            pathUrl: pathUrl,
            currentPage: currentPage,
            endUrl: endUrl
        });
    })
</script>
</html>